* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

ul {
  list-style: none;
}

body {
  background: linear-gradient(to right, #B9BEF1, #B3E5E7);
  height: 100vh;
}

.todo-wrapper {
  width: 400px;
  height: 200px;
  margin: 100px auto;
  border-radius: 20px;
  background-color: white;
  overflow: hidden;
}

.todo-time {
  color: #46555E;
  padding: 0 20px;
  font-size: 20px;
  line-height: 30px;
  margin-top: 10px;
}

.todo-operate {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  line-height: 30px;
}

.todo-choose {
  width: 180px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {

  padding: 0 10px;
  border-radius: 15px;
}

.btn.active {
  background-color: #8093A2;
  color: white;
}

.todo-wrapper>input {
  margin-top: 5px;
  padding: 0 20px;
  height: 30px;
  line-height: 30px;
  width: 100%;
  outline: none;
  border: 0;
  border-bottom: 1px solid #E2E2E4;
}

ul input {
  display: none;
}
ul label {
  pointer-events: none;
}

ul span {
  margin-left: 20px;
  position: relative;
}

ul span::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  border: 1px solid #000;
  position: absolute;
  left: -24px;
  top: 0;
}

ul span::after {
  content: '✓';
  display: block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  background-color: green;
  border-radius: 10px;
  color: white;
  text-align: center;
  position: absolute;
  left: -24px;
  top: 0;
  transition: all .3s;
  transform: scale(0.3);
  opacity: 0;
}
ul {
  height: 80px;
  overflow-y: auto;
}
ul input[type='radio']:checked + span {
  text-decoration: line-through;
  color: #ccc;
}
ul input[type='radio']:checked+span::after {
  opacity: 1;
  transform: scale(1);
}
ul > li {
  height: 40px;
  line-height: 40px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
li > b {
  padding: 0 10px;
  cursor: pointer;
  display: none;
}
li:hover {
  background-color: #BDDFE7;
}
li:hover b {
  display: block;
}
.empty {
  height: 80px;
  justify-content: center;
}
.empty:hover {
  background-color: transparent;
}